package com.example.jd.finance.sever;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.jd.common.InvokeResultUtil;
import com.example.jd.finance.entity.MsCustomerRecords;
import com.example.jd.finance.entity.param.DetailPageParam;
import com.example.jd.finance.entity.vo.MsQueryDetailCountVO;

import javax.servlet.http.HttpServletResponse;
import java.time.LocalDate;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author admin
 * @since 2021-11-06
 */
public interface MsCustomerRecordsService extends IService<MsCustomerRecords> {

    MsCustomerRecords findOne();

    InvokeResultUtil detailPage(DetailPageParam param);

    MsQueryDetailCountVO queryDetailCount(String enterpriseWechatCode, LocalDate now);

    MsQueryDetailCountVO queryDetailCountByCurrentDay(String enterpriseWechatCode,String currentDay);

    Map<String, Object> detailPageExcel(DetailPageParam param, HttpServletResponse response);
}
